#ifndef __WPTH_IMAGEFACTORY_H__
#define __WPTH_IMAGEFACTORY_H__

#include "defs.h"

WX_DECLARE_STRING_HASH_MAP( wxBitmap, ImageCacheMap );

class ImageFactory
{
	static ImageCacheMap ms_cache;
	ImageFactory();
public:
	static wxBitmap GetBitmap(const wxString& name, wxBitmapType btype = wxBITMAP_TYPE_ANY);
};
#endif